.header-box{
    height: 60px;
}
.header{ 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    height: 60px;
    z-index: 1;
}
.header-heart{
    padding: 0 1%;
    min-width: 375px;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height:100%;
    gap: 20px;
    justify-content: space-between;
    box-sizing: border-box;
}
.logo img{
    height: 36px;
}
.nav{
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-ul{
    display: flex;
    gap: 20px;
    justify-content: center;
}
.nav-heart{
    flex: 1;
}
.nav-ul-li{
    position: relative;
    flex: auto;
}
.nav-ul-li:nth-child(2) a img{
    position: absolute;
    width: 40px;
    height: 22px;
    top: 3px;
    left: -5px;
}
.nav-ul-li a{
    height: 60px;
    line-height: 60px;
    text-align: center;
    display: inline-block;
    font-size: 12px;
    border-bottom: 1px solid transparent;
    transition: 0.2s;
}
.nav-ul-li a:hover{
    color: #027cdb;
}
.bth input[type=text]{
    width: 100%;
    height: 34px;
    background-color: #f6f8fa;
    padding-left: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 0;
    line-height: 34px;
}
.bth input[type=text]::placeholder{
    color: #bbb;
    font-size: 12px;
    transition: 0.2s;

}
.bth{
    position: relative;
    flex: 0 1 240px;
}
.bth input[type=text]:focus::placeholder{
    color: #87959f;
}
.bth .icon-sousuo{
    position: absolute;
    right: 10px;
    top: 5px;
}
.login{
    display: flex;
    flex-basis: 220px;
    align-items: center;
    gap: 5px;
}
.login .login-img {
    flex: 0 1 100px;
}
.login .login-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.login a,.login span{
    font-size: 12px;
    color: #87959f;
    line-height: 60px;
    transition: 0.2s;
}
.login a:hover{
    color: #027cdb;
}
.directory{
    display: none;
}
.small-mask{
    display: none;
 }
 .small-mask-box{
    display: none;
   }

/* 当视口的最大宽度为1400,视口的宽度<= 1400px，文字默认大小为16px */

@media screen and (max-width:1600px){
    html{
        font-size:16px;
    }
}
/* 当视口的宽度<=1400px，文字大小为14px */
@media screen and (max-width:1400px){
    html{
        font-size:14px;
    }
}
/* 当视口的宽度小于等于1365px的时候，该模块隐藏 */
@media screen and (max-width:1365px){
    .user-gift{
        display: none;
    }
}
/* 视口的宽度<=1000px，文字的大小为12px */
@media screen and (max-width:1000px){
    html{
        font-size:12px;
    }
}
        @media screen and (max-width:1313px){
            .login-img{
                display: none;
            }
            .login{
                flex-basis: 62px;
            }
        }
        @media screen and (max-width:1153px){
            .header-heart{
                position: relative;
            }
            .nav-heart{
                position: absolute;
                right: 0;
                background-color: #fff;
                top: 60px;
                width: 200px;
                text-align: center;
                font-size: 16px;
            }
            .directory{
                display: block;
            }
            .nav{
                flex:none;
            }
            .nav-ul{
                flex-direction: column;
            }
            .login .login-img{
                display: block;
            }
            .login{
                flex-basis: 220px;
            }
            .nav-ul-li:nth-child(2) a img {
                left: 50%;
                margin-left: -20px;
            }
            .nav-ul-li a{
                font-size: 16px;
            }
            .login a{
                font-size:16px ;
            }
            .header{
                padding: 0 2%;
                box-sizing: border-box;
            }
            .footer-top-left{
                gap: 20px;
            }
        }
        @media screen and (max-width:698px){
            .header-heart .login  img {
                display: none;
            }
            .header-heart .login a{
                width: 100%;
            }
            .header-heart .login  span{
                display: none;
            }
        }
        @media screen and (max-width:615px){
            .header-heart .bth{
                display: none;
            }
        }
        @media screen and (max-width:513px){
        .header-heart .bth{
          display: none;
      }
        .header-heart .directory{
          display: none;
      }
      .header-heart .login {
        position: relative;
      }
      .header-heart .login  img {
        display: block;
        width:100%;
        position: absolute;
        top: -61px;
        animation: img 2s cubic-bezier(1,0,0,1.01)  4.1s  infinite ;
    }
    .header-heart .login a{
        width: 100%;
        font-size: 18px;
        color: #333;
        animation: font 2s cubic-bezier(1,0,0,1.01)  6.2s  infinite ;
    }
    .header-heart{
        overflow: hidden;
    }
    .header-heart .login {
         flex: 1;
    }
    .header-heart .logo{
         flex: 1;
    }
    .header-heart .logo img{
        height:auto;
        width: 100%;
    }
   .main-heart{
    width: 100%;
   }
   .small-mask-box{
    display: block;
   }
   .smallicons{
     width: 100%;
     display: block;
     background-color: #fff;
     padding: 20px 0;
   }
   .smallicons-heart{
    width: 85%;
    margin: 0 auto;
   }
   .smallicons-heart-ul{
    display: flex;
    justify-content: space-around;
    gap: 20px;
   }
   .smallicons-heart-ul-li{
    flex: 1;
   }
   .smallicons-heart-ul-li a img{
    width: 70%;
   }
   .mask-box{
    display: none;
   }
   .small-mask{
    width: 100%;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    display: block;
   }
   .small-mask-heart{
     width: 85%;
     margin: 0 auto;
     box-sizing: border-box;
   }
   .small-mask-heart-ul{
    display: flex;
    justify-content: space-around;
   }
   .small-mask-heart-ul-li{
    flex: 1;
    text-align: center;
   }
   .small-mask-heart-ul-li a{
    font-size: 16px;
   }
   .small-mask-heart-ul-li .iconfont{
      font-size: 24px;
   }
   .small-mask-heart-ul-li:nth-child(1) a .icon-shouye-shouye{
          color: #027cdb;
   }
   .small-mask-box{
    width: 100%;
    height: 72px;
   }
    @keyframes font {
        50%{
            transform: translateY(60px);
        }
    }
    @keyframes img {
        50%{
            transform: translateY(61px);
        }
    }
  }